package com.wesley.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * EnableDiscoveryClient 使用SpringCloud注解即可， 开启服务发现
 *
 * @author wwei5
 */
@SpringBootApplication
@EnableDiscoveryClient
public class ProviderApp {

  public static void main(String[] args) {
    SpringApplication.run(ProviderApp.class, args);
    System.out.println("provider start ok ... ");
  }
}